package com.zfei.gfb.dao;

import com.zfei.gfb.model.GfbHouse;
import com.zfei.gfb.query.GfbHouseQuery;

import java.util.Collection;
import java.util.List;

public interface GfbHouseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GfbHouse record);

    int insertSelective(GfbHouse record);

    GfbHouse selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(GfbHouse record);

    int updateByPrimaryKey(GfbHouse record);

    List<GfbHouse> list(GfbHouseQuery record);

    List<GfbHouse> listH5(GfbHouseQuery record);

    int total(GfbHouseQuery record);

    int totalH5(GfbHouseQuery record);

    List<GfbHouse> selectByIds(Collection<Integer> ids);

    List<GfbHouse> listByUserId(Integer userId);
}